package ModelLayer;
import java.util.ArrayList;

public class Group {
    // <editor-fold defaultstate="collapsed" desc="Attributes">
    private int id_group;
    private float reduction;
    private int date_add;
    private int date_upd;
    private String name;
    private ArrayList<Integer> customerIDs = new ArrayList<Integer>();
    // </editor-fold>

    // <editor-fold defaultstate="collapsed" desc="Constructors">
    public Group() {
    }

    public Group(int id_group, float reduction, int date_add, int date_upd, String name) {
        this.id_group       = id_group;
        this.reduction      = reduction;
        this.date_add       = date_add;
        this.date_upd       = date_upd;
        this.name           = name;
    }
    // </editor-fold>

    // <editor-fold defaultstate="collapsed" desc="Set & Get Methods">
    //Set & Get: ID
    public void setIDGroup(int id_group) {
        this.id_group = id_group;
    }
    public int getIDGroup() {
        return this.id_group;
    }

    //Set & Get: Gender
    public void setReduction(float reduction) {
        this.reduction = reduction;
    }
    public float getReduction() {
        return this.reduction;
    }

    //Set & Get: Date Add
    public void setDateAdd(int date_add) {
        this.date_add = date_add;
    }
    public int getDateAdd() {
        return this.date_add;
    }

    //Set & Get: Date Upd
    public void setDateUpd(int date_upd) {
        this.date_upd = date_upd;
    }
    public int getDateUpd() {
        return this.date_upd;
    }

    //Set & Get: Name
    public void setName(String name) {
        this.name = name;
    }
    public String getName() {
        return this.name;
    }

    //Set & Get: CustomerIDs
    public void setCustomerIDs(ArrayList<Integer> customerIDs) {
        this.customerIDs = customerIDs;
    }
    public ArrayList<Integer> getCustomerIDs() {
        return this.customerIDs;
    }
    // </editor-fold>
}
